<template>
  <div id="app">
    <header-nav></header-nav>
    <!-- 组件缓存 -->
    <keep-alive>
      <router-view />
    </keep-alive>
  </div>
</template>
<script>
import HeaderNav from '@/components/HeaderNav.vue';

export default({
  components: {HeaderNav}
})
</script>

<style lang="scss">
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: initial;
  text-decoration: none;
}

#app {
  color: #2c3e50;
}
</style>
